<?php
return array(
	'rules'=>array(
		array('arrive_time,leave_time', 'required'),
		array('house_num', 'numerical','integerOnly'=>true,'message'=>'数量必须是数字'),
		PregRules::phoneRules('phone'),
	),

	'relations' => array(
        'order' => array(CActiveRecord::BELONGS_TO,'Order','order_id'),
	),

	'_import' => array(
		array('*', 'models.ActiveRecord//*'),
	),
);